package com.qianfeng.teachdemo.utils;

import android.os.Environment;

/**
 * @version v1.0
 * @类描述：
 * @项目名称：
 * @包 名： com.qianfeng.studydemo.utils
 * @类名称：AppConstant
 * @创建人：张唯
 * @创建时间：14-10-2
 * @修改人：
 * @修改时间：
 * @修改备注：
 */
public class AppConstant {
    public static final String freeApi= "http://iappfree.candou.com:8080/free/applications/limited?currency=rmb&page=1";
    //周末去哪儿数据库名
    public static final String QUNAER_DB_NAME = "qunaer.db";
    //周末去哪儿数据库版本
    public static final int QUNAER_DB_VESION=1;
    //品牌特卖数据库名
    public static final String SHOPPING_DB_NAME = "shopping.db";
    //品牌特卖数据库版本
    public static final int SHOPPING_DB_VESION=1;
    //最新
    public static String url_new = "http://www.wanzhoumo.com/wanzhoumo?UUID=00000000-665e-6151-9c1c-96300033c587&app_key=800000002&app_v_code=32&app_v_name=2.2.1&distance=0&format=json&genre_id=0&is_near=1&is_valid=1&method=activity.List&offset=0&os=android&pagesize=30&poi_id=0&r=wanzhoumo&sign=aa20f166c013f16040c3e182a5b87afd&timestamp=1410760163&v=2.0";
    //附近：
    public static String url_neibor = "http://www.wanzhoumo.com/wanzhoumo?UUID=00000000-665e-6151-9c1c-96300033c587&app_key=800000002&app_v_code=32&app_v_name=2.2.1&distance=0&format=json&genre_id=0&is_near=1&is_valid=1&method=activity.List&offset=0&os=android&pagesize=30&poi_id=0&r=wanzhoumo&sign=d5bd3766865fc9bc2433fba3f39c5ed4&sort=distance&timestamp=1410759782&v=2.0";
    //发现
    public static String url_find = "http://www.wanzhoumo.com/wanzhoumo?UUID=00000000-665e-6151-9c1c-96300033c587&app_key=800000002&app_v_code=32&app_v_name=2.2.1&format=json&method=topic.list&offset=0&os=android&pagesize=30&r=wanzhoumo&sign=32673c1f0eed178ad4798a1448c18443&timestamp=1410919066&v=2.0";
    //发现剩余分页
    public static String url_findLast = "http://www.wanzhoumo.com/wanzhoumo?UUID=00000000-665e-6151-9c1c-96300033c587&app_key=800000002&app_v_code=32&app_v_name=2.2.1&format=json&method=topic.list&offset=30&os=android&pagesize=30&r=wanzhoumo&sign=fa849da0aaba709b721e6f1411297ecd&timestamp=1410957128&v=2.0";
    //发现的详细一
    public static String url_findDetail = "http://www.wanzhoumo.com/wanzhoumo?UUID=00000000-665e-6151-9c1c-96300033c587&app_key=800000002&app_v_code=32&app_v_name=2.2.1&format=json&method=topic.detail&os=android&r=wanzhoumo&sign=750fd03b042e2e571a084f9ac84b7499&timestamp=1410955976&v=2.0&id=122";
    //左抽屉菜单：
    public static String url_leftCategory = "http://www.wanzhoumo.com/wanzhoumo?UUID=00000000-6578-76c8-ffff-ffff974d8251&app_key=800000002&app_v_code=27&app_v_name=2.1.1&format=json&method=other.genrelist&os=android&r=wanzhoumo&sign=24d362bfe570112dd9233b607c1f4701&timestamp=1406034373&type=activity&v=2.0";
    //qunaer加载最新
    public static final int id_New = 90;
    //qunaer加载最新
    public static final int id_Neibor = 91;
    //米折接口 main listvie
    public static final String url_brandMain= "http://m.mizhe.com/brand/all-%s-10.html";
    //二级页面
    public static final String url_brandDetail= "http://m.mizhe.com/brand/detail/%s-1-40.html";
    //单个商品购买页面
    public static final String url_temaiDetail= "http://m.mizhe.com/temai/detail/3-%s.html";
    //app更新
    //更新URL
    public static final String newAppUrl="http://bcs.duapp.com/xq-xiaoheizhu-pet/pet_newest.apk";
    //获取SD卡文件路径
    public static final String downFilePath = Environment.getExternalStorageDirectory()+"/xq_pet/pet_newest.apk";
    //调用系统相机拍摄的请求码
    public static final int CAMERA_REQUEST_CODE=11;

}
